OtpButtonStyle
Style of OtpVerifyButton and OtpResendButton, created with OtpButtonDefaults.style. minHeight is in points at the default text size, scales with Dynamic Type, and is raised to
A disabled button always draws a dashed border of at least 1 point, so its state is not shown by color alone.
glass opts in to the iOS 26 Liquid Glass button background (a capsule) while the button is enabled. Earlier iOS versions, and disabled buttons, keep the solid style. Glass is translucent, so the colors contrast check cannot cover it; the system makes the glass opaque when Reduce Transparency or Increase Contrast is on. Use withGlass to turn it on.
Properties
Contrast problems of colors for the current trait collection.
Functions
Copy with glass on or off; Swift cannot use Kotlin default arguments.